//
//  ZTControlTopView.h
//  YSSmartHome
//
//  Created by Yahaong on 16/8/12.
//  Copyright © 2016年 yahaong. All rights reserved.
//


#import <UIKit/UIKit.h>
#import "ZTDevice.h"
typedef void(^ControlClickBlock)(NSInteger index, BOOL  status);

@interface ZTControlTopView : UIView

@property (nonatomic, assign) ZTDeviceType devType;
@property (nullable, nonatomic, copy)ControlClickBlock block;

- (void)setChannel:(NSInteger )index status:(BOOL)statu;
- (instancetype __nullable)initWithDevType:(ZTDeviceType)devType;

@end
